package com.tao.graduation.Service;

import com.tao.graduation.Pojo.Appointment;
import com.tao.graduation.Pojo.Doctor;
import com.tao.graduation.Pojo.Option;
import com.tao.graduation.Pojo.Patient;

import java.util.List;
import java.util.Map;

public interface PatientService {
    public Patient queryPatientByUsername(Integer id);

    public List<Option> queryOption();

    public Map<String,String> queryPatientInfo(Integer id);

    public List<Doctor> queryDoctorByOptionType(String name);

    public int Appointment(Appointment appointment);

    public List<Map<String,String>> AppointmentRecord(Integer id);

    List<Doctor> queryDoctor();

    int CanOrder(int id);

    int insertSelfInfo(Patient patient);
}
